Vcenter VM RelocateSpec
Document-based relocate spec.
This schema was added in vSphere API 7.0.0.0.
{
"placement": {
"folder": "string",
"resource_pool": "string",
"host": "string",
"cluster": "string",
"datastore": "string"
},
"disks": {
"disks": {
"datastore": "string"
}
}
}
Virtual machine placement information.
This property was added in vSphere API 7.0.0.0.
If this property is missing or null
, the system will use the values from the source virtual machine. If specified, each field will be used for placement. If the fields result in disjoint placement the operation will fail. If the fields along with the other existing placement of the virtual machine result in disjoint placement the operation will fail.
Individual disk relocation map.
This property was added in vSphere API 7.0.0.0.
If missing or null
, all disks will migrate to the datastore specified in the Vcenter VM RelocatePlacementSpec.datastore property of Vcenter VM RelocateSpec.placement.
When clients pass a value of this schema as a parameter, the key in the property map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk
. When operations return a value of this schema as a response, the key in the property map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk
.